/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sanerzone.smscenter.modules.sms.service;

import com.sanerzone.jeebase.common.persistence.Page;
import com.sanerzone.jeebase.common.service.CrudService;
import com.sanerzone.smscenter.modules.sms.dao.SmsSensitiveWordsDao;
import com.sanerzone.smscenter.modules.sms.entity.SmsSensitiveWords;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 敏感词管理Service
 * @author jianr.z
 * @version 2018-04-19
 */
@Service
@Transactional(readOnly = true)
public class SmsSensitiveWordsService extends CrudService<SmsSensitiveWordsDao, SmsSensitiveWords> {

	public SmsSensitiveWords get(String id) {
		return super.get(id);
	}
	
	public List<SmsSensitiveWords> findList(SmsSensitiveWords smsSensitiveWords) {
		return super.findList(smsSensitiveWords);
	}
	
	public Page<SmsSensitiveWords> findPage(Page<SmsSensitiveWords> page, SmsSensitiveWords smsSensitiveWords) {
		return super.findPage(page, smsSensitiveWords);
	}
	
	@Transactional(readOnly = false)
	public void save(SmsSensitiveWords smsSensitiveWords) {
		super.save(smsSensitiveWords);
	}
	
	@Transactional(readOnly = false)
	public void delete(SmsSensitiveWords smsSensitiveWords) {
		super.delete(smsSensitiveWords);
	}
	
}